package com.spc.car.data.service.project.impl;

import com.spc.car.data.domain.project.dto.ProjectRoleDTO;
import com.spc.car.data.entity.project.ProjectRole;
import com.spc.car.data.mapper.project.ProjectRoleMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spc.car.data.service.project.ProjectRoleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 项目角色表 服务实现类
 * </p>
 *
 * @author 
 * @since 2020-04-27
 */
@Service
public class ProjectRoleServiceImpl extends ServiceImpl<ProjectRoleMapper, ProjectRole> implements ProjectRoleService {

    @Override
    public List<ProjectRoleDTO> listWithPermission() {

        return baseMapper.listWithPermission();
    }
}
